grid: Simplify allocating children
authorTimm Bäder <mail@baedert.org>
Wed, 11 Oct 2017 06:25:20 +0000 (08:25 +0200)
committerTimm Bäder <mail@baedert.org>
Wed, 11 Oct 2017 06:50:21 +0000 (08:50 +0200)
commite7e3ef9d3eca085616ee86adcfe9080aa7e807a2
tree9cb216ad11d1b24e7e3264bf8555a56e7664efba
parent804476a07f8b3a93aa706386cfe14826c34cc590
grid: Simplify allocating children

allocation->x and allocation->y are always 0. MAX'ing width/height with
1 is also wrong now since 0 is a valid width/height for widgets.
gtk/gtkgrid.c